package com.Graham.GUI;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;



public class Frame1 extends JFrame
{
	JPanel pane = new JPanel();
	
	Frame1()//frame constructor
	{
	  super("My Frame"); 
	  setBounds(100,100,300,100);
	  setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	  Container con = this.getContentPane();//inherit main frame
	  con.add(pane);//add panel to frame
	  //customize panel here
	  //pane.add()
	  setVisible(true);
	}
	
	
	public static void main(String[] args) 
	{
		new Frame2();
	}

}
